package com.codi.bus.core.service;

import com.codi.base.domain.BaseResult;
import com.codi.bus.core.domain.BankLimit;

import java.util.List;

public interface BankLimitService {
    List<BankLimit> selectAll();

    List<BankLimit> selectAllByState();

    BaseResult selectOne(Integer id);

    BaseResult add(BankLimit bankLimit);

    BaseResult delete(Integer id);

    BaseResult update(BankLimit bankLimit);

    BankLimit selectByCodeAndChannel(String code, String channel);
}
